<?php

/**
 * @author Lancer He <lancer.he@gmail.com>
 * @copyright 2011
 */

Class Welcome_Controller extends Controller {

    function __construct() {
        parent::__construct();
        //$this->load->database();
        $this->load->model('MWelcome');
        $this->load->model('MWelcome');
        //$this->load->config('Router');
    }

    function index() {
        $data['title']   = 'welcome';
        $data['content'] = 'content';
        $row = $this->MWelcome->getCate(1);
        $this->event->log($row,FALSE);
        //$query = $this->db->query('SELECT * FROM crm_reseller');
        $this->event->log($this);
    }


}